class CreateCards < ActiveRecord::Migration
  def change
    create_table :cards do |t|
      t.integer :user_id
      t.integer :book_id
      t.date :date_borrowed
      t.date :date_due
      t.date :date_returned
      t.boolean :is_lost

      t.timestamps
    end
  end
end
